package com.okhttp.comment;

import android.widget.ProgressBar;
import android.widget.TextView;

import com.like.LikeButton;

/**
 * @author 关忆北、
 * @description 主评论的点击事件，但其中也包含部分中转的自评论事件
 * @time 2022/4/6 3:29 下午
 */
public interface OnCommentClickListener {
    //点击头像
    void onUserHead(Object norMarListBean);

    //对主评论进行评论
    void onCommentView(CommentBean.DataBean.CommentInfoBean norMarListBean, int pos);

    //对子评论进行评论
    void onCommentChildClick(CommentBean.DataBean.CommentInfoBean norMarListBean, CommentBean.DataBean.CommentInfoBean.ReplyCommentsBean replyCommentsBean, BaseCommentChildListAdapter commentChildListAdapter, int pos);

    //删除子评论
    void onDeleteReplyComment(CommentBean.DataBean.CommentInfoBean norMarListBean, CommentBean.DataBean.CommentInfoBean.ReplyCommentsBean replyCommentsBean, BaseCommentChildListAdapter commentChildListAdapter, TextView mTvCommentReplyNum, int replyCommentsPos, int pos);

    //点赞
    void onGiveReplyComment(CommentBean.DataBean.CommentInfoBean.ReplyCommentsBean replyCommentsBean, TextView mSupportNum, LikeButton ivCommentGive);

    //删除评论
    void onDeleteComment(CommentBean.DataBean.CommentInfoBean norMarListBean);

    //点赞or取消点赞
    void onGiveComment(CommentBean.DataBean.CommentInfoBean norMarListBean, LikeButton mIvCommentGive, TextView mTvCommentGiveNum);

    void onLookCommentDetails(CommentBean.DataBean.CommentInfoBean norMarListBean, BaseCommentChildListAdapter adapter, ProgressBar progressBar, OnLookSurplusCommentListener listener);

    //举报住评论
    void onReportComment(CommentBean.DataBean.CommentInfoBean norMarListBean);

    //举报子评论
    void onReportChildComment(CommentBean.DataBean.CommentInfoBean.ReplyCommentsBean replyCommentsBean);

    //复制主评论内容
    void onCopyCommentContent(CommentBean.DataBean.CommentInfoBean norMarListBean);

}

